package onest.springboot.mybatis.demo;

import onest.springboot.mybatis.demo.common.StartCommand;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@MapperScan("onest.springboot.mybatis.demo.dao")
@EnableAsync
public class DemoApplication {

    public static void main(String[] args) {
        // 启动参数设置, 比如自动生成端口
//        new StartCommand(args);
        SpringApplication.run(DemoApplication.class, args);
    }

}
